package com.github.codemperor.api;

import com.github.codemperor.api.base.IBaseApi;
import com.github.codemperor.api.security.annotation.EmprApi;
import com.github.codemperor.api.security.enums.ApiMethodEnum;
import com.github.codemperor.api.security.enums.ApiModuleEnum;

/**
 * 所有crm的接口顶级抽象
 */
public interface ICrmApi extends IBaseApi {

    /**
     * 测试
     */
    @EmprApi(desc = "测试hello word，此接口需要登录才可以访问", method = ApiMethodEnum.GET, module = ApiModuleEnum.AUTH)
    String CRM_HELLO_WORLD = CRM_API_PREFIX + "/auth/hello";

    @EmprApi(desc = "查看当前后台管理登陆用户信息", method = ApiMethodEnum.GET, module = ApiModuleEnum.AUTH)
    String CRM_CURRENT_ADMIN_USER = CRM_API_PREFIX + "/auth/admin/current/user";
}
